import Vue from 'vue'
import Vuex from 'vuex'
import * as api from '../http/api'
import axios from '../http/http'
// ---------------------
import goodsStore from './modules/goodsStore'
import orderStore from './modules/orderStore'
import userStore from './modules/userStore'

Vue.use(Vuex)
export default new Vuex.Store({
    modules:{
        goodsStore,
        orderStore,
        userStore,
    }
})